package com.hu.auth.model.po;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.Size;
import java.util.List;

// 分配角色的传参对象
@Data
public class AssignRolePo {

    @Min(1)
    private Long userId;

    @Size(min = 1)
    private List<Long> roleIdList;

}
